package conservare.dao;

import java.util.List;

import conservare.modelo.funcionario.TipoExameMedico;

public class TipoExameMedicoDAO extends Dao {

	private static final long serialVersionUID = -8652566999470645721L;
	
	public TipoExameMedico getById(Integer id) {
		return getPojo(TipoExameMedico.class, id);
	}

	public List<TipoExameMedico> getTodos() {
		return getList(TipoExameMedico.class, "select exame from TipoExameMedico exame order by exame.descricao");
	}

}
